package com.example.lx6_4.adapter

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.lx6_4.R

class ImgAdapter : BaseQuickAdapter<Any, BaseViewHolder>(R.layout.item_img) {
    override fun convert(helper: BaseViewHolder, item: Any) {
        Glide.with(context).load(item).into(helper.getView(R.id.iv_img))
    }
}